/* header start */
#header {
	position: relative;
	width: 100%;
	height: 100vh;
	background: url(../upload/imgHeader.jpg) no-repeat fixed center center;
	background-size: cover;
}

#header .arrow {
	position: absolute;
	/* bottom: 10px; */
	left: 50%;
	transform: translate(-50%, -50%) rotate(135deg);
	transition: all .25;
	/* opacity: 0.7; */
	/* 箭头 */
	width: 3vw;
	height: 3vw;
	border: 6px solid white;
	border-left: none;
	border-bottom: none;
	animation: moveArrow 2s linear  infinite;
}

@keyframes moveArrow {
	0% {
		opacity: 0;
		bottom: 20px;
	}
	20% {
		opacity: 0.7;
		bottom: 20px;
	}
	80% {
		opacity: 0.7;
		bottom: 0;
	}
	100% {
		opacity: 0;
		bottom: 0;
	}
}

#header h1 {
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#header .hint {
	font-size: 14px;
	position: absolute;
	bottom: 0;
	right: 0;
	color: white;
	opacity: .8;
	transition: all .3;
}

#header .hint:hover {
	font-weight: 700;
	opacity: 1;
}
/* header end */

/* content start */
/* motto part */
#motto {
	font-size: 30px;
	width: 100%;
	height: 150px;
	background-color: #efebea;
	opacity: .7;
}

#motto .w {
	height: 100%;
	box-sizing: border-box;
	padding: 30px 60px;
}
#motto .w .whoSay {
	font-size: 25px;
	text-align: right;
}

/* descript part */
#description {
	text-align: center;
	width: 100%;
	height: 500px;
}

#description .w {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	color: #101010;
	font-size: 20px;
	font-weight: 700;
	height: 100%;
	padding: 70px 60px;
}

/* whySelect part */
#whySelect {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 650px;
	background-color: #efebea;
	padding-bottom: 70px;
}

#whySelect .w {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	padding: 70px 100px  0 100px;
	flex: 1;
}

#whySelect .w>div {
	/* display: none; */
	position: relative;
	box-sizing: border-box;
	padding: 30px;
	background-color: #efebea;
	background-size: auto 100%;
	width: 300px;
	height: 544px;
	overflow: hidden;
	transition: all .5s;
	box-shadow: 2px 2px 5px #3E4B53;
}

#whySelect .teacher {
	background: url(../upload/wave.jpg) no-repeat center center;
}

#whySelect .schoollife {
	background: url(../upload/frends.jpg) no-repeat center center;
}

#whySelect .potency {
	background: url(../upload/lion.jpg) no-repeat center center;
}


#whySelect .w h2 {
	color: white;
	display: inline-block;
	width: 30px;
	font-size: 30px;
	transition: all .3s;
}

#whySelect .w div:hover h2{
	opacity: 0;
}

#whySelect .w div:hover{
	background-size: auto 125%;
}

#whySelect .w .text-box {
	display: none;
	box-sizing: border-box;
	padding: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background-color: rgba(0, 0, 0, .3);
	color: white;
	opacity: .7;
	font-size: 17px;
	line-height: 25px;
}
#whySelect h1 {
	width: 40px;
	box-sizing: border-box;
	padding-top: 70px;
	height: 110px;
	text-align: center;
}

/* @keyframes moveInFormTop{
	from {
		transform: translateY(-50%);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@keyframes moveInFormBottom{
	from {
		transform: translateY(50%);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}


@keyframes moveOutToTop {
	from {
		transform: none;
		opacity: 1;
	}
	to {
		transform: translateY(-50%);
		opacity: 0;
	}
	
}

@keyframes moveOutToBottom { */
/* 	from {
		transform: none;
		opacity: 1;
	}
	to {
		transform: translateY(50%);
		opacity: 0;
	}
	
} */

/* preview part */
#preview {
	width: 100%;
	height: 500px;
	box-sizing: border-box;
	padding: 70px 0;
}

#preview h1 {
	padding-bottom: 20px;
	text-align: center;
	line-height: 80px;
}

#preview .w {
	display: flex;
	justify-content: space-between;
	white-space: nowrap;
	height: 300px;
}

#preview .w>div {
	height: 300px;
	width: 300px;
	overflow: hidden;
	display: inline-block;
	position: relative;
	background-color: pink;
	text-align: center;
	box-shadow: 2px 2px 5px #3E4B53;
	transition: all .5s;
}

#preview .w>div:hover {
	transform: translateY(-2%);
	box-shadow: 5px 5px 10px #3E4B53;
	cursor: pointer;
	
}

#preview .w div img {
	position: absolute;
	vertical-align: top;
	height: 100%;
	left: 50%;
	transform: translateX(-50%);
	object-fit: cover;
}

